package com.hujf.netty.tcp.protocoltcp;

/**
 * @author Hujf
 * @title: MessageProtocol
 * @date 2021/2/6 0006下午 3:20
 * @description: 定义协议
 */

public class MessageProtocol {

    //private 定义长度
    private int len;
    private byte[] content;

    public int getLen() {
        return len;
    }

    public void setLen(int len) {
        this.len = len;
    }

    public byte[] getContent() {
        return content;
    }

    public void setContent(byte[] content) {
        this.content = content;
    }

}
